﻿using System;
using System.Data;

using WQFree.Models;

namespace WQFree.IDataAccess
{
    public interface IModel
    {
        int Save(Model model);
        int Save(DataSet ds);

        Model Get(long id);
        Model Get(string gid);
        int Delete(long id);
        int Delete(string gid);
        int Deletes(string ids);
    }
}
